<script>
export default {
	onLaunch: function () {
		if (uni.getStorageSync('a_tk')) {
			uni.switchTab({
				url: '/pages/Home/Home'
			})
		} else {
			uni.navigateTo({
				url: '/pages/Login/Login'
			})
		}
	},
	onShow: function () {
		console.log('App Show')
	},
	onHide: function () {
		console.log('App Hide')
	}
}
</script>

<style lang="scss">
@import "@/static/main.css";
@import "@/static/icon.css";
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';


@media screen and (min-width: 600px) {
	.uni-tabbar {
		width: 35vw !important;
		position: fixed;
		left: 50% !important;
		transform: translateX(-50%);
	}

	.uni-page-head {
		width: 35vw;
		position: fixed;
		left: 50% !important;
		transform: translateX(-50%);

	}

	.uni-placeholder {
		height: 0px !important;
	}

	.uni-app--showtabbar uni-page-wrapper::after {
		display: none;
	}

	.uni-page-body {
		height: 100vh;
	}
}


/*每个页面公共css */
// @import '@/uni_modules/uni-scss/index.scss';
// // @import "/wxcomponents/@vant/weapp/common/index.wxss";
// /* #ifndef APP-NVUE */
// @import '@/static/customicons.css';
// @import '@/static/index.css';
// // #ifdef H5

// #endif
// 设置整个项目的背景色
page {
	background-color: rgba(243, 243, 243, 0.934);
}

/* #endif */
.example-info {
	font-size: 14px;
	color: #333;
	padding: 10px;
}

.tag_container {
	background-color: rgb(188, 209, 237) !important;
	border: 1px solid red;
}
</style>